This header provides type interregation utilities and some math operators for the math library. More...
#include <functional>
#include <algorithm>
#include <boost/static_assert.hpp>
#include <boost/type_traits/is_same.hpp>
#include "gridpack/utilities/complex.hpp"
Go to the source code of this file.
Classes | |
struct | gridpack::math::base_unary_function< T > |
struct | gridpack::math::setvalue< T > |
struct | gridpack::math::addvalue< T > |
struct | gridpack::math::multiplyvalue< T > |
struct | gridpack::math::absvalue< T > |
struct | gridpack::math::absvalue< RealType > |
struct | gridpack::math::absvalue< ComplexType > |
struct | gridpack::math::exponential< T > |
struct | gridpack::math::reciprocal< T > |
struct | gridpack::math::conjugate_value< T > |
struct | gridpack::math::real_value< T > |
struct | gridpack::math::imaginary_value< T > |
struct | gridpack::math::base_accumulator_function< T, ResultType > |
struct | gridpack::math::l1_norm< T > |
struct | gridpack::math::l2_norm< T > |
struct | gridpack::math::infinity_norm< T > |
struct | gridpack::math::base_binary_function< T > |
struct | gridpack::math::multiplyvalue2< T > |
struct | gridpack::math::dividevalue2< T > |
struct | gridpack::math::scaleAdd2< T > |
Namespaces | |
namespace | gridpack |
namespace | gridpack::math |
Functions | |
template<typename To , typename From > | |
To | gridpack::math::equate (const From &f) |
template<> | |
RealType | gridpack::math::equate< RealType, ComplexType > (const ComplexType &f) |
template<typename T , typename StorageType > | |
void | gridpack::math::unary_operation (const unsigned int &size, StorageType *x, base_unary_function< T > &op) |
template<> | |
void | gridpack::math::unary_operation< ComplexType, RealType > (const unsigned int &size, RealType *x, base_unary_function< ComplexType > &op) |
template<> | |
void | gridpack::math::unary_operation< RealType, ComplexType > (const unsigned int &size, ComplexType *x, base_unary_function< RealType > &op) |
template<typename T , typename StorageType > | |
void | gridpack::math::accumulator_operation (const unsigned int &size, const StorageType *x, base_accumulator_function< T, RealType > &op) |
template<> | |
void | gridpack::math::accumulator_operation< RealType, ComplexType > (const unsigned int &size, const ComplexType *x, base_accumulator_function< RealType, RealType > &op) |
template<> | |
void | gridpack::math::accumulator_operation< ComplexType, RealType > (const unsigned int &size, const RealType *x, base_accumulator_function< ComplexType, RealType > &op) |
template<typename T , typename StorageType > | |
void | gridpack::math::binary_operation (const unsigned int &size, StorageType *x1, const StorageType *x2, base_binary_function< T > &op) |
template<> | |
void | gridpack::math::binary_operation< ComplexType, RealType > (const unsigned int &size, RealType *x1, const RealType *x2, base_binary_function< ComplexType > &op) |
template<> | |
void | gridpack::math::binary_operation< RealType, ComplexType > (const unsigned int &size, ComplexType *x1, const ComplexType *x2, base_binary_function< RealType > &op) |
This header provides type interregation utilities and some math operators for the math library.